package com.ck567.netty.chatroom.message

open abstract class AbstractResponseMessage : Message {
    open var success = true
    open var reason: String? = null

    constructor() {}
    constructor(success: Boolean, reason: String?) {
        this.success = success
        this.reason = reason
    }

    override fun toString(): String {
        return "AbstractResponseMessage(success=$success, reason=$reason)"
    }
}
